Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework README #959

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Rework README #959

wants to merge 1 commit into from

Conversation

danemtsov
Copy link
Contributor

@danemtsov danemtsov commented Apr 25, 2021

... for inexperienced users to be warned and for lazy users not to complain.

I have some questions though:

  • Are there any requirements to which as/flex/bison to use (32/64-bit, msys/cygwin/...)? as.exe brobably should be for 32-bit?
  • Is drive root redirection for the same purpose as with WINDIR or something else?
  • How is EnumFontLimitation handling fonts that are not explicitly listed in the EnumFontLimitation section? Are they just filled into the avaliable fonts list up to a certain limit?

To do for README:

  • Clarify on build instructions and and prerequisites
  • Document drive root redirection
  • Document otvdm.ini in more detail
    • Registry redirection and implications e.g. on OLE
    • EnumFontLimitation
    • Font rendering tweaks

@otya128
Copy link
Owner

otya128 commented Apr 26, 2021

Are there any requirements to which as/flex/bison to use (32/64-bit, msys/cygwin/...)? as.exe brobably should be for 32-bit?

If it is msys2, it will be installed in <msys2 root>\usr\bin\ with the following command.

pacman -S binutils bison flex

Since it is explicitly specified to assemble in 32-bit, the architecture of the tool does not matter.
The bison version must be 3.0 or higher.

Is drive root redirection for the same purpose as with WINDIR or something else?

Yes.

How is EnumFontLimitation handling fonts that are not explicitly listed in the EnumFontLimitation section? Are they just filled into the avaliable fonts list up to a certain limit?

Listed in

winevdm/gdi/gdi.c

Lines 421 to 490 in dc01e41

static const char *font_list[] =
{
"\x82\x6c\x82\x72 \x83\x53\x83\x56\x83\x62\x83\x4e", /* MS Gothic (Japanese font) */
"\x82\x6c\x82\x72 \x96\xbe\x92\xa9", /* MS Mincho (Japanese font) */
"Arial",
"Courier New",
"Times New Roman",
"Wingdings",
"Symbol",
"CenturyOldst",
"Arial Narrow",
"Book Antiqua",
"Bookman Old Style",
"Century Gothic",
"Century Schoolbook",
"Monotype Corsiva",
"Monotype Sorts",
"Fences",
"MT Extra",
"Monotype Sorts",
"System",
"FixedSys",
"Modern",
"Script",
"Terminal",
"Roman",
"Small Fonts",
"MS Serif",
"MS Dialog",
"MS Sans Serif",
"MS LineDraw",
"Century",
"Algerian",
"Arial Rounded MT Bold",
"Braggadocio",
"Britannic Bold",
"Brush Script MT",
"Colonna MT",
"Desdemona",
"Footlight MT Light",
"Impact",
"Kino MT",
"Wide Latin",
"Matura MT Script Capitals",
"Playbill",
"Courier",
"Helvetica",
"Helv",
"Times",
"ITC Avant Garde Gothic",
"ITC Bookman",
"New Century Schoolbook",
"Palatino",
"ITC Zapf Chancery",
"ITC Zapf Dingbats",
"AvantGarde",
"Bookman",
"NewCenturySchlbk",
"Palatino",
"ZapfChancery",
"ZapfDingbats",
"AvantGarde",
"Bookman",
"NewCenturySchlbk",
"Palatino",
"ZapfChancery",
"ZapfDingbats",
NULL
};

@Anixx
Copy link

Anixx commented Apr 29, 2021

Please also document
EnableFontAntialias=1 and add this to otvdm.ini.

Copy link

@lemaximedu66 lemaximedu66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work. let's me approve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants